<?php
/**
 * Created by PhpStorm.
 * User: Edward
 * Date: 2019/5/30
 * Time: 14:18
 */

namespace app\Validate;


class ApiValidate  extends BaseValidate {
    protected $rule = [
        'user_id'=>'require|number',
        'token'=>'require',
    ];
    protected $message =  [
//        'user_id'=>'缺少用户id',
//        'token'  =>'缺少用户token'
        'user_id'=>'用户信息不存在，请您登陆',
        'token'  =>'用户信息不存在，请您登陆'
    ];
}